<%-- 
    Document   : sitenews
    Created on : Jun 4, 2012, 9:00:02 PM
    Author     : FRIENDS
--%>

<%@page import="AO.Announcement" contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
        <title>What's new</title>
    </head>
   <body>
        <%
         String[] ids=helper.Announcement.getAnnouncementIds("public");
         int i=0;
         if(ids!=null)
         for(i=0;i<ids.length;i++)
            {
            Announcement announce=helper.Announcement.getAnnouncementBean(ids[i]);
            out.println("<br />By: "+announce.getAuthor());
            out.println("<br />On: "+announce.getAnnouncedate());
            out.println("<br />To: "+announce.getTousers());
            out.println("<br />subject: "+announce.getSubject());
            out.println("<br />Description: "+announce.getDescription());
            }
        %>

    </body>
</html>
